#ifndef ACTION_H
#define ACTION_H

#include <QAction>

class Action : public QAction
{
    Q_OBJECT
public:
    explicit Action(QString filename, QObject *parent = 0);

signals:
    void triggered(QString);

public slots:
    void onTriggered();

private:
    QString filename;
};

#endif // ACTION_H
